// pages/car/car.js
//index.js
//获取应用实例
var app = getApp()
Page({
    data: {
        hidden: true,
        count: '1',
        imgUrls: [
            '../../images/banner1.jpg',
            '../../images/banner2.jpg',
            '../../images/banner3.jpg'
        ],
        indicatorDots: true,
        autoplay: false,
        interval: 5000,
        duration: 1000,
        goodsList: [
            {
                id: 132,
                imgUrl: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimgservice.suning.cn%2Fuimg1%2Fb2c%2Fimage%2FRUykuews2ADOyC1hgUP3IQ.jpg_800w_800h_4e&refer=http%3A%2F%2Fimgservice.suning.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1623411013&t=ab7de0305571d5cc817c6fb2514c00b4',
                title: '特仑苏牛奶整箱装',
                oldPrice: 57,
                newPrice: 42
            },
            {
                id: 122,
                imgUrl: 'https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2063469530,1378227004&fm=224&gp=0.jpg',
                title: '童装',
                oldPrice: 400,
                newPrice: 300
            },
            {
                id: 302,
                imgUrl: 'https://img.alicdn.com/bao/uploaded/i3/494858290/TB1.jYocxHI8KJjy1zbXXaxdpXa_!!0-item_pic.jpg_b.jpg',
                title: '珀莱雅毛巾',
                oldPrice: 19,
                newPrice: 9.9
            },
            {
                id: 498,
                imgUrl: 'https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=1202375381,713272149&fm=26&gp=0.jpg',
                title: '懒人椅子',
                oldPrice: 506,
                newPrice: 479
            },
            {
                id: 588,
                imgUrl: 'https://dss0.bdstatic.com/-0U0bnSm1A5BphGlnYG/tam-ogel/b5fb3d3e6e1166afdaeb9f31778fc799_660_200.jpg',
                title: 'vivo手机',
                oldPrice: 5000,
                newPrice: 4199
            },
            {

                id: 600,
                imgUrl: 'https://ss1.bdstatic.com/70cFvXSh_Q1YnxGkpoWK1HF6hhy/it/u=2399710575,622947418&fm=26&gp=0.jpg',
                title: '洗脸盆',
                oldPrice: 9.9,
                newPrice: 7.8
            }
        ]
    },
    onLoad: function () {
        }
})